/**
 * PayRechargeMapperExt
 * Copyright © 2015 - 2017 
 * All rights reserved.
 * -----------------------------------
 * 2018-08-09  Created
 */
package com.lzy.cloud.payment.mapper;

import com.lzy.cloud.payment.dtos.payment.PayRechargeDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PayRechargeMapperExt extends PayRechargeMapper {

    /**
     * 根据平台充值订单号修改充值记录
     * @param payRechargeDto
     * @return
     */
    int updateByOrderId(@Param("param") PayRechargeDto payRechargeDto);

    /**
     * 根据平台充值订单号修改充值记录
     * @param payRechargeDto
     * @return
     */
    int updateByThirdNumber(@Param("param")PayRechargeDto payRechargeDto);

    /**
     * 根据条件查询列表
     * @param payRechargeDto
     * @return
     */
    List<PayRechargeDto> selectList(@Param("param") PayRechargeDto payRechargeDto);
}